﻿CKEDITOR.editorConfig = function (config) {
    // Define changes to default configuration here. For example:
    //config.toolbar = "Basic";
    //config.language = 'fr';
    //config.uiColor = '#AADC6E';

    config.toolbar = [
        { name: 'styles', items: ['Styles', 'Format', 'Font', 'FontSize'] },
        { name: 'colors', items: ['TextColor', 'BGColor'] },
        { name: 'links', items: ['Link', 'Unlink', 'Anchor'] },
        "/",
        { name: 'document', items: ['Source', '-', 'NewPage', 'Preview', '-', 'Templates'] },
        { name: 'clipboard', items: ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo'] },
        { name: 'basicstyles', items: ['Bold', 'Italic'] },
        { name: 'insert_custom', items: ['Image'] }
    ];
    config.filebrowserImageUploadUrl = "/Board/UploadForCKEditor";
};